import comHeader from '@/components/home-header'
import comFooter from '@/components/home-footer'
import Home from '@/views/home'
import List from '@/views/list'
import Content from '@/views/content'
const routes = [
  {
    path: '/',
    redirect: 'home'
  },
  {
    path: '/home',
    components: {
      header: comHeader,
      default: Home,
      footer: comFooter
    }
  },
  {
    path: '/list',
    components: {
      header: comHeader,
      default: List,
      footer: comFooter
    }
  },
  {
    path: '/content',
    components: {
      header: comHeader,
      default: Content,
      footer: comFooter
    }
  }
]

export default routes
